From 46838a2fe2dd94c33792d763e069b5d72987120f Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 10 Oct 2013 15:24:43 -0700 Subject: [PATCH] Suppress frequent device assertions Because send crossing event is usually called with a NULL source_device in quartz. --- gdk/gdkwindow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index f096101015..6d2bd68f61 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -7477,6 +7477,7 @@ send_crossing_event (GdkDisplay *display, if (type == GDK_ENTER_NOTIFY && (pointer_info->need_touch_press_enter || + source_device && gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN) && mode != GDK_CROSSING_TOUCH_BEGIN && mode != GDK_CROSSING_TOUCH_END) -- 2.30.2